/**
 * output package name
 */
package com.kingdee.eas.custom;

import java.util.Map;
import java.util.List;
import java.util.Iterator;
import com.kingdee.util.enums.StringEnum;

/**
 * output class name
 */
public class departmentType extends StringEnum
{
    public static final String FUNCTION_VALUE = "1";
    public static final String SERVICE_VALUE = "2";

    public static final departmentType function = new departmentType("function", FUNCTION_VALUE);
    public static final departmentType service = new departmentType("service", SERVICE_VALUE);

    /**
     * construct function
     * @param String departmentType
     */
    private departmentType(String name, String departmentType)
    {
        super(name, departmentType);
    }
    
    /**
     * getEnum function
     * @param String arguments
     */
    public static departmentType getEnum(String departmentType)
    {
        return (departmentType)getEnum(departmentType.class, departmentType);
    }

    /**
     * getEnumMap function
     */
    public static Map getEnumMap()
    {
        return getEnumMap(departmentType.class);
    }

    /**
     * getEnumList function
     */
    public static List getEnumList()
    {
         return getEnumList(departmentType.class);
    }
    
    /**
     * getIterator function
     */
    public static Iterator iterator()
    {
         return iterator(departmentType.class);
    }
}